package com.kamistoat.meimeistore.order.dao;

import com.kamistoat.meimeistore.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 * 
 * @author kamistoat
 * @email linjianshanke@163.com
 * @date 2021-09-12 16:42:29
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    /**
     * 该订单状态
     * @param orderSn
     * @param code
     */
    void updateOrderStatus(@Param("orderSn") String orderSn, @Param("code") Integer code);
}
